package day1.circle;

public class Test {
    public static void main(String[] args) {
        //基础测试
        Point p = new Point(0,0);
        p.show();
        Circle c = new Circle(0,0,2);
        c.show();
        TCircle t = new TCircle(0,0,2,5);
        t.show();

        System.out.println("====================");
        //多态
        Point p2 = new Circle(1,1,5);
        p2.show();
        Point p3 = new TCircle(1,1,5,10);
        p3.show();
    }
}
